package com.leading.spring.modal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author chennan
 * @create 2021-05
 */
@Data //get set 方法
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式编程
@ApiModel(value = "Depatment", description = "部门表")
public class Depatment {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("部门名称")
    private String dname;

    @ApiModelProperty("储存的数据库名称")
    private String dbSource;

}
